package com.broadsoft.cluster.smartcluster.partition;

import java.io.Serializable;

import org.jgroups.Address;

public final class Worker implements Serializable {
    private static final long serialVersionUID = 1L;

    private final Address address;
    private final String name;

    public Worker(String name, Address address) {
        this.name = name;
        this.address = address;
    }

    public Address getAddress() {
        return address;
    }

    public String getName() {
        return name;
    }
}